package community.hospital.entity.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author：ydj
 * @Date：2023/3/5 22:21
 */
@Data
public class PasswordRequest {
    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;
    @NotBlank(message = "新密码不能为空")
    private String password;
}
